const panel = this.pageObj.getApiWidgetByAliasName('event-panel')?.widgetObj
// 获取演练进度
const process = this.pageObj.getVariables().find(v => v.name === 'whetherProcess')?.value || 0
const queryManage = this.pageObj.getApiWidgetByAliasName('queryManage')?.widgetObj
const searchText = '';

this.getApiPage().setVariables([{name: 'panelType', value: $event}]);
if (+$event === 0) {
  queryManage.queryDrillNews(+process, searchText).then(res => {
    panel.setData([{data: res}]);
    panel.render()
  })
} else {
  queryManage.queryDrillGroup($event, +process).then(res => {
    panel.setData([{data: res}]);
    panel.render()
  })
}

